package hcn.protocol.base;

import hcn.protocol.brandnew.zhenliao.yaopin.ListPatientAreasResponse;
import lombok.Data;

import javax.xml.bind.annotation.*;
import java.util.List;

/**
 * @ClassName DepartmentListResp
 * @Description: 科室列表返回参数
 * @Author: zhengcb
 * @CreateDate: 2023/12/6 14:15
 */
@Data
@XmlRootElement(name = "Data")
@XmlAccessorType(XmlAccessType.FIELD)
public class DepartmentListResp {
    /**
     * 病区列表
     */
    @XmlElementWrapper(name = "RequestLists")
    @XmlElement(name = "RequestList")
    private List<Department> requestList;

    @Data
    @XmlAccessorType(XmlAccessType.FIELD)
    public static  class Department {

        /**
         * 科室代码
         */
        @XmlElement(name = "DeptCode")
        private String deptCode;
        /**
         * 科室名称
         */
        @XmlElement(name = "DeptName")
        private String deptName;
    }
}
